package com.lagou.edu.mvcframework.annotations;

import java.lang.annotation.*;

/**
 * 只有添加注解的用户可以访问
 * 参数名称固定username
 */
@Documented
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Security {
    String[] value() default {};
}
